package com.dwen.fakewx.mvp;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import butterknife.ButterKnife;

/**
 * Created by Administrator on 2017-1-6.
 */

public abstract  class BaseActivity extends AppCompatActivity{
    public abstract int getContentViewId();
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(getContentViewId());
        getSupportActionBar().hide();
        ButterKnife.bind(this);
    }

}
